<?php 
$block = $mvc->getObject(StaticBlockService::STATIC_BLOCK);
?>
<h2>_i18n{New Block}</h2>
<div class="unitABlock unitABlockLast">
	<form action="/new-block.html" method="POST">
		<div class="unitSnColumn">
			<div class="itemForm">
				<label>_i18n{Title}:</label>
				<div class="itemData">
					<input class="inpTxt" type="text" name="<?php echo StaticBlockService::BLOCK_TITLE ?>" value="<?php echo isset($block[StaticBlockService::BLOCK_TITLE]) ? $block[StaticBlockService::BLOCK_TITLE] : NULL; ?>"/>
				</div>
			</div>
			<div class="itemForm">
				<label>_i18n{Body}:</label>
				<div class="itemData"><textarea class="areaTxt" rows="10" cols="82" name="<?php echo StaticBlockService::BLOCK_DESC ?>"><?php echo isset($block[StaticBlockService::BLOCK_DESC]) ? $block[StaticBlockService::BLOCK_DESC] : NULL; ?></textarea></div>
			</div>
		</div>
		<div class="unitBtn">
			<button name="save"><span><strong>_i18n{Save}</strong></span></button>
			<button name="back"><span><strong>_i18n{Discard}</strong></span></button>
		</div>
	</form>
</div>